package com.zg.datapush.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * Cron表达式请求
 * @author zg
 */
@Data
@ApiModel(value = "Cron表达式请求", description = "Cron表达式请求")
public class CronExpressionReq {
    
    @NotBlank(message = "Cron表达式不能为空")
    @ApiModelProperty(value = "Cron表达式", required = true)
    private String cronExpression;
}
